package store.lunangangster.test.engine.impl.entity;

import store.lunangangster.engine.impl.entity.EntityImpl;

public class StudentEntityImpl extends EntityImpl implements StudentEntity {

  private String name;
  private int age;

  @Override
  public String getName() {
    return null;
  }

  @Override
  public int getAge() {
    return 0;
  }

  public void setName(String name) {
    this.name = name;
  }

  public void setAge(int age) {
    this.age = age;
  }

  @Override
  public String toString() {
    return "StudentEntityImpl{" +
        "id='" + id + '\'' +
        ", name='" + name + '\'' +
        ", age=" + age +
        '}';
  }

  @Override
  public Object getPersistState() {
    return null;
  }
}
